package dao;

import entity.Medicine;

import java.util.List;
import java.util.Map;

public interface MedicineDao {
    public List<Medicine> query(Map<String,Object> map);
    //查询条数
    public int getCount();

    //删除
    public boolean delete(int medicineId);

    //修改
    public boolean update(Map<String,Object> map);
    public List<Medicine> queryPage(Map<String,Object> map);
    //添加
    public int addMedicine(Medicine medicine);
}
